package com.tb.pojo;

import java.io.Serializable;

public class Comments implements Serializable {
    private Integer id;

    private String comments;

    private String goodsId;

    private String userId;

    private Integer anonStatus;

    private Integer staifaction;
    /************************User表***********************************************/
    private User user;

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }


    /***********************************************************************/

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getComments() {
        return comments;
    }

    public void setComments(String comments) {
        this.comments = comments == null ? null : comments.trim();
    }

    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
    }

    public Integer getAnonStatus() {
        return anonStatus;
    }

    public void setAnonStatus(Integer anonStatus) {
        this.anonStatus = anonStatus;
    }

    public Integer getStaifaction() {
        return staifaction;
    }

    public void setStaifaction(Integer staifaction) {
        this.staifaction = staifaction;
    }

    @Override
    public String toString() {
        return "Comments{" +
                "id=" + id +
                ", comments='" + comments + '\'' +
                ", goodsId='" + goodsId + '\'' +
                ", userId='" + userId + '\'' +
                ", anonStatus=" + anonStatus +
                ", staifaction=" + staifaction +
                ", user=" + user +
                '}';
    }
}